/*
 * 代号：凤凰
 * http://www.jphenix.org
 * 2022年8月29日
 * V4.0
 */
package com.jphenix.standard.servlet.api;

import java.util.Enumeration;
import com.jphenix.standard.docs.ClassInfo;

/**
 * 会话上下文接口
 * 
 * 2022-09-04 隔离了ServletApi，兼容新老Tomcat
 * 
 * @author MBG
 * 2022年8月29日
 */
@Deprecated
@ClassInfo({"2022-09-04 21:58","会话上下文接口"})
public interface IHttpSessionContext {

    /**
     * Do not use.
     * @param sessionId Ignored
     * @return Always <code>null</code>
     * @deprecated As of Java Servlet API 2.1 with no replacement. This method
     *             must return null and will be removed in a future version of
     *             this API.
     */
    @Deprecated
    IHttpSession getSession(String sessionId);

    /**
     * Do not use.
     * @return Always an empty Enumeration
     * @deprecated As of Java Servlet API 2.1 with no replacement. This method
     *             must return an empty <code>Enumeration</code> and will be
     *             removed in a future version of this API.
     */
    @Deprecated
    Enumeration<String> getIds();
}
